package com.mt.api.constants.constant;

/**
 * @Author: plover
 * @Date: 2020/07/07/4:43 下午
 * @Description:
 */
public interface Constants {

    String DEVELOPS_OPENID = "oM0AD5XJqeNqUFISg5HOi4iGxNcI";

    String INSTORE_NEWS_TEMPLATE = "%s于%s入库%s件";

    String ORDER_NEWS_TEMPLATE = "%s %s于%s下单%s件";

    String OUT_STORE_NEWS_TEMPLATE = "%s于%s出库%s件";

    /**
     * 账号免费天数
     */
    int ACCOUNT_FREE_DAY = 90;

    /**
     * 5分钟
     */
    int ACCESS_TOKEN_REFRESH_SECONDS = 5 * 60 * 1000;

    int SKU_WARNVAL = 100;

    String DEFAULT_COLORS = "[]";
    String DEFAULT_SIZES = "[\"L\", \"XL\", \"XXL\"]";
    //数量步进器
    Integer QTY_STEPPER = 5;


    interface UserLevel {
        int INIT = 0;
        int BRAND_CERTIFIED = 1;
        int V1 = 2;
        int V2 = 3;
        int V3 = 4;
    }

    // 订单状态  0未完成 1已完成 2已取消
    interface OrderPrintState {
        int UN_PRINT = 0;
        int PRINT_SUCCESS = 1;
        int PRINT_FAIL = 2;
    }

    // 入库类型
    interface InstoreType {
        int PRODUCTION = 1;
        int BACK = 2;
    }

    // 结算状态
    interface SettleStatus {
        int UN_SETTLE = 0;
        int SETTLE_FINISH = 1;
    }

    // 用户类型 1商户 2客户
    interface UserType {
        int MERCHANT = 1;
        int CUSTOMER = 2;
    }

    // 客户状态 0失效 1正常 9 过期
    interface CustomerState {
        int INVALID = 0;
        int NORMAL = 1;
        int EXPIRED = 9;
    }

    // 客户状态 0失效 1正常 9 过期
    interface AccountState {
        int INVALID = 0;
        int NORMAL = 1;
        int EXPIRED = 9;
    }

    // 认证状态 0未认证 1已认证 9认证失败
    interface AuthState {
        int NOT = 0;
        int SUCCESS = 1;
        int FAIL = 9;
    }

    // 销售状态 0下架 1上架
    interface SaleState {
        int OFF = 0;
        int ON = 1;
    }

    // 微信账号状态 0失效 1有效
    interface WechatAccountValid {
        int INVALID = 0;
        int VALID = 1;
    }

}
